
#pragma once

#include "base/core/singleton.h"
#include "Common/TableDefine.h"


class SensitivewordSensitive_wordCfg : public ManualSingleton <SensitivewordSensitive_wordCfg>
{
	friend ManualSingleton <SensitivewordSensitive_wordCfg>;
public:
	SensitivewordSensitive_wordCfg();
	~SensitivewordSensitive_wordCfg();
	bool Init(const char *szCfgFile, const char *szSplitChar);
	bool UnInit();
	void Clear();
	const SensitivewordSensitive_wordCfgInfo *GetSensitivewordSensitive_wordCfgInfo(int32_t id);
	const SensitivewordSensitive_wordCfgMap *GetSensitivewordSensitive_wordCfgMap() { return &m_SensitivewordSensitive_wordCfgMap; }
private:
	SensitivewordSensitive_wordCfgMap m_SensitivewordSensitive_wordCfgMap;
};

#define  g_MakeSensitivewordSensitive_wordCfgTable() (SensitivewordSensitive_wordCfg::Instance())
#define  g_GetSensitivewordSensitive_wordCfgTable() (SensitivewordSensitive_wordCfg::GetInstance())
#define  g_DelSensitivewordSensitive_wordCfgTable() (SensitivewordSensitive_wordCfg::Destroy())